package com.zsc.wxm.ysh.anjo.service.base.model.resources.qo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 描述：
 *
 * @author playmaker
 * @since 2021/2/12 23:33
 */
@Data
@NoArgsConstructor
public class BaseDataQuery implements Serializable {
    private static final long serialVersionUID = 580245107219698678L;
    @ApiModelProperty("类型")
    private String type;

    @ApiModelProperty("描述")
    private String keyDesc;

    @ApiModelProperty("创建开始时间")
    private LocalDateTime createTimeStart;

    @ApiModelProperty("创建结束时间 ")
    private LocalDateTime createTimeEnd;

    @ApiModelProperty("当前页")
    @NotNull(message = "当前页码不能位空")
    private Integer currPage = 1;

    @ApiModelProperty("显示的数量")
    @NotNull(message = "当前页的显示大小不能位空")
    private Integer pageSize = 10;

}